// generateStaticParams()
export async function generateStaticParams() {
    return [
        { id: "1" },
        { id: "2" },
        { id: "3" }
    ]
}

export default async function ProductsDetail({ params }: { params: Promise<{ id: string }> }) {
    const { id } = await params;
    return (
        <div>
            <h1 className='text-2xl font-bold'>Product Detail</h1>
            <div>
                <p>this is product {id} page!</p>
            </div>
        </div>
    )
}
